#include<iostream>
using namespace std;
int main()
{
	int p;
	cin >> p;
	int kk= p%2 ;
	if((kk==1) & (p>=1) & (p<=80))
	{
		
	
	for(int i=1; i<=p ; i=i+2 )
	{
		for (int j=0; j<i-1; j=j+2)
		{
			cout<< " " ;
		}
		for (int k=0; k<=p-i; k++)
		{
			cout<< "*" ;
		}
		cout <<endl ;
	}
	
	}
	else
	cout<< "error";
 } 
